package com.boot.core.define

/**
 * @author rankai on 2018/3/11.
 */
enum class PoliceLevel(val value: Int) {

    GENERAL(1), CAPTAIN(2), OFFICER(3);

    companion object {
        fun contain(findValue: Int): Boolean = PoliceLevel.values().any { it.value == findValue }
    }

}